home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / every15.zip / EVERY.DOC < prev    next >
Text File  |  1992-01-27  |  1KB  |  22 lines

  1. EVERY: Periodic Program Run Utility. Version 1.5,   Jan 27 1992
  2. Copyright (c) 1989,1990,1991 by Yossi Gil, P.O.Box 3148, Jerusalem, ISRAEL.
  3.  
  4.    Usage: EVERY [options]  [-f filename] period [-c] command [args]
  5.  
  6. Will execute 'command [args]' if 'period' had passed from the last time that
  7. command was run. The file date of the 'filname' parameter (or that of command
  8. file itself with the absence of this parameter) is used as an indicator for the
  9. last time that command was run. EVERY updates this date automatically to the
  10. system's clock when it runs 'command' (unless 'command' itself happens to updateit). Useful for executing various maintenance programs: disk optimizers, backupsetc. from AUTOEXEC.BAT, but avoiding the hassle of running them in every boot.
  11.  
  12. Options are:
  13.  -p  Update file date prior to execution    -s  Run silently
  14.  -a  Ask user before executing command      -v  Verbose run
  15.  -i  Ignore error code returned by command  -c  Next argument is command
  16.  
  17. Period can be specified in terms of days, weeks, week days, months or years.
  18.  
  19. Examples:
  20.        EVERY day quickopt c:              EVERY month optimize c: 
  21.        EVERY Sunday backup c:\work        EVERY week -f \frecover.dat frecover
  22.        EVERY 2 weeks 3 days sort_dirs     EVERY year say happy new year!